package com.xiaoxiang.mall.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Builder;
import lombok.Data;

/**
 * (Goods)表实体类
 *
 * @author haha
 * @since 2022-03-28 18:09:58
 */
@Data
@Builder
public class Goods extends Model<Goods> {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 商品名称
     */
    private String name;

    /**
     * 介绍
     */
    private String content;

    /**
     * 价格
     */
    private String price;

    /**
     * 图片
     */
    private String imgUrl;
}
